package c.j.a.c.g$d;

import android.content.Context;
import android.content.DialogInterface;
import c.j.a.a.a.e.c.c;
import c.j.a.c.o.b.b;
import c.j.a.d.a.h;
import c.j.a.d.a.i;

/* compiled from: AdDownloadDialogManager */
public class a implements c {
    public final /* synthetic */ c.j.a.b.a.c.a a;
    public final /* synthetic */ Context b;
    public final /* synthetic */ c.j.a.c.g$g.a c;
    public final /* synthetic */ c.j.a.c.g$d.b.a d;
    public final /* synthetic */ b e;

    public a(b bVar, c.j.a.b.a.c.a aVar, Context context, c.j.a.c.g$g.a aVar2, c.j.a.c.g$d.b.a aVar3) {
        this.e = bVar;
        this.a = aVar;
        this.b = context;
        this.c = aVar2;
        this.d = aVar3;
    }

    public void a(DialogInterface dialogInterface) {
        this.e.e("");
    }

    public void b(DialogInterface dialogInterface) {
        b.a.i("backdialog_exit", this.a);
        c.j.a.c.g$d.b.a aVar = this.d;
        if (aVar != null) {
            aVar.a();
        }
        this.e.e("");
        dialogInterface.dismiss();
    }

    public void c(DialogInterface dialogInterface) {
        b.a.i("backdialog_install", this.a);
        Context context = this.b;
        int i = (int) this.c.a;
        String str = i.j;
        h.c(context, i, true);
        dialogInterface.dismiss();
    }
}
